<?php

/**
 * Message form.
 *
 * @package    sinc
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfPropelFormTemplate.php 10377 2008-07-21 07:10:32Z dwhittle $
 */
class MessageForm extends BaseMessageForm
{
  public function configure()
  {
      unset($this['date_envoi']);
      unset($this['auteur']);

     $this->widgetSchema['id_discussion']->setLabel('Sur quelle discussion');
     $this->widgetSchema['contenu'] = new sfWidgetFormTextareaTinyMCE(array(
         'width' => 600,
         'height' => 400
          ));

  }
}
